package org.fitweb.fixture.timing;

import java.util.concurrent.Callable;

public abstract class Ready<T> implements Callable<T> {
    public T call() throws Exception {
        while(!ready()) {
            Thread.sleep(50);
        }
        return null;
    }

    protected abstract boolean ready();
}